import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
// import * as ElementPlusIconsVue from '@element-plus/icons-vue'
import { App } from 'vue'
// import '@/styles/element/index.less'

export default {
  install (app: App) {
    // size: large、default、 small
    app.use(ElementPlus, { size: 'default', zIndex: 3000 })
    // 引入全部图标【也可以按需引入】
    /* for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
      app.component(key, component)
    } */
  }
}
